package com.chixing.day06_static.singleton;

/**
 * 单例模式 singleton：在内存中对象 只能实例化一次
 */
public class Bank {
    private static Bank bank = new Bank();
    private Bank() {}
    public static Bank getBankInstance(){
        return bank;
    }





}
